<!doctype html>
<html>
<head>
    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <link rel="stylesheet" href="../css/common/weui.css" />
    <link rel="stylesheet" href="../css/common/weuix.css" />
    <link rel="stylesheet" href="../css/common/common.css" />
    <script src="../js/common/utils/zepto.min.js"></script>
    <script src="../js/common/utils/zepto.weui.js"></script>
    <script src="../js/common/common.js"></script>
    <script src="../js/common/utils/qrcode.js"></script>
	<script src="../js/common/utils/template-web.js"></script>
    <script src="../js/common/utils/JsBarcode.all.min.js" type="text/javascript"></script>
	<script src="../js/shop_order_search.js"></script>
</head>
<body ontouchstart style="background-color: #ddd;">
    <!-- 页面头部 -->
    <div class="details-header-container header-container">
    	<div class="weui-flex">
    	    <div class="weui-flex__item">
    	        <div class="placeholder">
    	            <span class="icon icon-109" style="color:#FFF; margin:0px;" onclick="actPageGo(-1)"></span>
    	        </div>
    	    </div>
    	    <div class="weui-flex__item"><div class="placeholder" style="text-align:right;color:#FFF;"></div></div>
    	</div> 
    </div>
	
	<!-- 搜索框 -->
	<!-- <div class="weui-search-bar">
		<input type="search" class="search-input" id="searchInput" placeholder="请输入完整的订单号">
		<button class="weui-btn weui-btn_mini weui-btn_primary" id="searchCancel">
			<i class="icon icon-4"></i>
		</button>
	</div> -->
	<div class="weui-search-bar">
		<input type="search" class="search-input" id="searchInput" placeholder="请输入患者姓名或者医生姓名">
		<button class="weui-btn weui-btn_mini weui-btn_primary" id="searchCancel">
			<i class="icon icon-4"></i>
		</button>
	</div>
	
	<!-- 页面内容 -->
	<div class="drug-body-container body-container">
		<div  class="weui-panel__bd" id="shop_order_list">
			
		</div>
	</div>
	
	<!-- 页面底部 -->
	<div class="footer-container">
		<div id="footer_menu"></div>
	</div>
	
	<!-- 订单数据列表 -->
	<script id="shopOrderList" type="text/html">
	   {{each list as value}}
			<a href="javascript:void(0);" class="weui-media-box weui-media-box_appmsg">
				<div class="weui-media-box__hd">
					<img class="weui-media-box__thumb" src="../images/timg.jpg" alt="">
				</div>
				<div class="weui-media-box__bd">
					<h4 class="weui-media-box__title first-p">{{value.patient_name === "" ? "李景" : value.patient_name}}</h4>
					<p class="weui-media-box__desc second-p">医生:  {{value.doctor_name}}</p>
					<p class="weui-media-box__desc last-p">{{value.create_time}}</p>
				</div>
				<div class="weui-cell__ft">
					<!-- <p class="first-p">{{value.indent_state}}</p> -->
					<p class="first-p">{{value.pay_status === "0" ? "未支付" : "已支付"}} {{value.indent_state}}</p>
					<p class="second-p">￥ : {{value.indent_total}}</p>
					<p class="last-p order-details" data-Pid={{value.prescription_id}} data-Iid={{value.indent_no}}>查看详情</p>
				</div>
			</a>
		{{/each}}
	</script>
	
	<script id="noData" type="text/html">
		<div class="weui-msgbox" style="opacity: 1; height: 100px;" id="s3">
		    <p>
		        <i class="weui-icon-info-circle"></i>未查询数据
		    </p>
		</div>
	</script>
</body>
</html>
<script type="text/javascript">
    
</script>
